import fetch from 'common/src/utils/fetch'
import utils from 'common/src/utils/utils';

export const pageUrl = '/api/electionservice/elcRebuildFeeStatistics/page';
/**
 * 导出
 */
export function exportData(data) {
    return fetch({
        url: '/api/electionservice/elcRebuildFeeStatistics/export',
        method: 'post',
        responseType: 'blob',
        data: data
    }).then(res => {
        utils.downloadFile(
            res,
            'studentRebuildFee.xls',
            'application/octet-stream'
        );
    });
}

